encode and decode tinyurl leetcode solution

visit shbcf.ru